package io;

import java.io.File;
import java.util.Iterator;
import java.util.List;

import entity.Person;

public class TestIO {
	public static void main(String[] args) {
		File file=new File("Person.xlsx");
		ReadXLSX r=new ReadXLSX();
		List l=r.getXlsxData(file);
		Iterator<Person> p=l.iterator();
		while (p.hasNext()) {
			System.out.println(p.next().getName());
		}
	}
}
